package com.framework.admin.service;

import com.framework.admin.domain.param.ModuleFormParam;
import com.framework.admin.domain.vo.LoadModuleDataVo;
import com.framework.admin.model.ModuleForm;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.util.List;


/**
 * @description: 模块表单管理 Service
 * @author: lizurong
 * @version: 1.0
 * @date: 2021-03-08 11:45:12
 */

public interface IModuleFormService {
    Page<ModuleForm> listPage(ModuleFormParam param, PageRequest pageRequest);

    String save(ModuleForm param);

    void delete(List<String> ids);

    void update(ModuleForm param);

    void updateFormJson(String formJson, String moduleFormId);

    List<String> tableList();

    LoadModuleDataVo  loadModuleData(String moduleFormId);
}
